<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org">
<head>
    <title>Wicket Examples - custom resource loading</title>
    <link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
    <span wicket:id="mainNavigation"/>
    <p>
	    This page was loaded by a component specific override. You can use that - with care - if you have
	    to implement custom loading strategies that are very local to the component. For instance, a custom
	    component that loads it's template from a database and for which you don't want the application
	    to have to know about it's differing loading resource.
    </p>
    <p>
	    This example loads the custom template just once, though it may reload when resource polling is
	    turned on and the template changes. If you want a load the template every time a page (or panel)
	    is requested, you can additionally let your container implement IMarkupCacheKeyProvider, and then
	    return null in the implementation of getCacheKey; Wicket will not cache templates without a
	    cache key. This functionality can be used to e.g. when you want to load templates from a database,
	    and you know that the actual templates can be different from request to request.
    </p>
</body>
</html>
